package com.huixi.common.pojo;

import java.io.Serializable;

import lombok.Data;

@Data
public class SearchItem implements Serializable{

	private static final long serialVersionUID = -3148492709539270099L;

	private String id;
	
	private String title;
	
	private String sellPoint;
	
	private long price;
	
	private String image;
	
	private String categoryName;

	public String[] getImages() {
		if(image != null && !"".equals(image)) {
			String[] strings = image.split(",");
			return strings;
		}
		return null ;
	}
}
